package com.yic.module.device.convert.maintenancePlanEntry;

import java.util.*;

import com.yic.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.yic.module.device.controller.admin.maintenancePlanEntry.vo.*;
import com.yic.module.device.dal.dataobject.maintenancePlanEntry.MaintenancePlanEntryDO;

/**
 * 设备保养项目 Convert
 *
 * @author 系统管理员
 */
@Mapper
public interface MaintenancePlanEntryConvert {

    MaintenancePlanEntryConvert INSTANCE = Mappers.getMapper(MaintenancePlanEntryConvert.class);

    MaintenancePlanEntryDO convert(MaintenancePlanEntryCreateReqVO bean);

    MaintenancePlanEntryDO convert(MaintenancePlanEntryUpdateReqVO bean);

    MaintenancePlanEntryRespVO convert(MaintenancePlanEntryDO bean);

    List<MaintenancePlanEntryRespVO> convertList(List<MaintenancePlanEntryDO> list);

    PageResult<MaintenancePlanEntryRespVO> convertPage(PageResult<MaintenancePlanEntryDO> page);

    List<MaintenancePlanEntryExcelVO> convertList02(List<MaintenancePlanEntryDO> list);

}
